// 分类管理模拟数据
export const mockCategories = [
  {
    id: 1,
    categoryName: '科技',
    categoryAlias: 'tech',
    createTime: '2023-09-01 10:00:00',
    updateTime: '2023-09-01 10:00:00'
  },
  {
    id: 2,
    categoryName: '体育',
    categoryAlias: 'sports',
    createTime: '2023-09-01 11:00:00',
    updateTime: '2023-09-01 11:00:00'
  },
  {
    id: 3,
    categoryName: '美食',
    categoryAlias: 'food',
    createTime: '2023-09-02 12:06:59',
    updateTime: '2023-09-02 12:06:59'
  },
  {
    id: 4,
    categoryName: '娱乐',
    categoryAlias: 'entertainment',
    createTime: '2023-09-02 12:08:16',
    updateTime: '2023-09-02 12:08:16'
  },
  {
    id: 5,
    categoryName: '历史',
    categoryAlias: 'history',
    createTime: '2023-09-03 09:30:45',
    updateTime: '2023-09-03 09:30:45'
  }
]

// 模拟API响应
export const mockResponses = {
  categoryList: {
    code: 0,
    message: '操作成功',
    data: mockCategories
  },
  categoryDetail: {
    code: 0,
    message: '操作成功',
    data: mockCategories[0]
  },
  success: {
    code: 0,
    message: '操作成功',
    data: null
  },
  updateSuccess: {
    code: 1,
    message: '操作成功',
    data: null
  }
}